package com.yanqu.road.entity.enums.activity;

public enum eNewServerWelfareActivityType {
    /**
     * 累计在线活动
     */
    OnlineTime(1),
    /**
     * 关卡通关
     */
    MissionComplete(2),
    /**
     * 幸运夺宝次数
     */
    DrawTimes(3),
    ;


    private int intValue;

    eNewServerWelfareActivityType(int value) {
        intValue = value;
    }

    public int getValue() {
        return intValue;
    }

    public static eNewServerWelfareActivityType forValue(int value) {
        for (eNewServerWelfareActivityType type : eNewServerWelfareActivityType.values()) {
            if (type.intValue == value) {
                return type;
            }
        }
        return null;
    }
}
